import pymongo
import random
HOST = "127.0.0.1"
PORT = 27017

#client = pymongo.MongoClient(HOST, PORT)
client = pymongo.MongoClient("mongodb://rwlog:RWlog@127.0.0.1:27017")

NewsDB = client.newsDB